import { createRouter, createWebHistory } from 'vue-router';

export const router = createRouter({
  history: createWebHistory(),
  routes: [
    {
      path: '/',
      component: () => import('@/views/home.vue')
    },
    {
      path: '/home',
      component: () => import('@/views/home.vue')
    },
    {
      path: '/details',
      component: () => import('@/views/details.vue')
    },
    {
      path:"/movieList",
      component:()=>import('@/views/movieList.vue')
    },
    {
      path:"/cinemaList",
      component:()=>import('@/views/cinemaList.vue')
    }
  ]
} as any);